//
//  MessageCenterManager.h
//  carcareIOS
//
//  Created by ileo on 16/9/1.
//  Copyright © 2016年 chezheng. All rights reserved.
//

#import "BaseManager.h"
#import "NetMessageCenter.h"
#import "MessageCenterViewController.h"

@interface MessageCenterManager : BaseManager

DEF_SINGLETON

@property (nonatomic, assign) NSInteger unReadNum;//总未读数

@property (nonatomic, copy) NSArray<MessageCenterModel *> *messageCenterModels;

-(void)updateSuccess:(void (^)())success fail:(void (^)())fail;

-(void)readMessageType:(MessageCenter_Type)type messageID:(NSInteger)messageID;//变成已读

#pragma mark - view

-(UIViewController *)viewController;

@end
